# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=matrix-synapse-rest-password-provider
pkgver=0.1.3
pkgrel=0
pkgdesc="Password Provider for Synapse fetching data from a REST endpoint"
url="https://github.com/ma1uta/matrix-synapse-rest-password-provider"
arch="noarch"
license="AGPL-3.0-or-later"
depends="python3"
makedepends="py3-setuptools"
source="https://github.com/ma1uta/matrix-synapse-rest-password-provider/archive/v$pkgver/matrix-synapse-rest-password-provider-v$pkgver.tar.gz"
options="!check" # No tests

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="4e897562235531652bf74e05facd0a1ebcc249d0bd8f55932940c7bb9f65d98054fb8c910abbabcc074b421aecb0d6c8bca776003b0f57f1b00bc44f7b47fcf5  matrix-synapse-rest-password-provider-v0.1.3.tar.gz"
